(function ($) {
    $.extend($.expr[':'], {
        group: function (element, index, matches, set) {
            var num = parseInt(matches[3], 10);
            if (isNaN(num)) {
                return false;
            }
            return index % (num * 2) < num;
        }
    });
})(jQuery);

$(document).ready(function () {
    var $news = $('#news');

    function stripe() {
        $news.find('tr.alt').removeClass('alt');

    }

    stripe();
});